package indi.zhifa.study2024.generaltest.enums.common;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.core.enummemo.entity.ann.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc(name = "星期",desc = "星期几",defaultIdx = 0,defaultItem = "未选择")
public enum EWeekDay {

    DEFAULT(0,"未选择","用户未选择"),
    MONDAY(1,"星期一","每周的第一天，新的一周从今天开始"),
    TUESDAY(2,"星期二","每周的第二天"),
    WEDNESDAY(3,"星期三","每周的第三天"),
    THURSDAY(4,"星期四","每周的第四天"),
    FRIDAY(5,"星期五","每周的第五天，明天就可以放假了"),
    SATURDAY(6,"星期六","每周的第六天，但愿大家今日都可以不上班"),
    SUNDAY(7,"星期日","每周的最后一天，终于可以好好休息了，为下一周的奋斗做好准备");

    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String desc;
}
